package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 编码打印模板表
 * </p>
 *
 * @author WEN
 * @since 2023-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjCodePrintTemplate对象", description="编码打印模板表")
public class ZjCodePrintTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "模板名称")
    private String name;

    @ApiModelProperty(value = "纸张尺寸-高")
    private Float height;

    @ApiModelProperty(value = "纸张尺寸-宽")
    private Float width;

    @ApiModelProperty(value = "一码数量，即一个编码打印多少张")
    private Integer codeNum;

    @ApiModelProperty(value = "数据次数，即数据打印次数")
    private Integer printDataNum;

    @ApiModelProperty(value = "单行数量")
    private Integer rowQty;

    @ApiModelProperty(value = "是否禁用：0-否，1-是")
    @TableField("is_disabled")
    private Boolean disabled;

    @ApiModelProperty(value = "创建人员ID")
    private Long createEmpId;

    @ApiModelProperty(value = "创建人员")
    private String createEmp;

    @ApiModelProperty(value = "更新人员ID")
    private Long updateEmpId;

    @ApiModelProperty(value = "更新人员")
    private String updateEmp;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
